package com.uhylab.uhuvinetest.base;

import android.app.Activity;
import android.support.v4.app.Fragment;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ImageView;

import com.uhylab.uhuvinetest.R;

/**
 * Created by leige07 .
 * Time on 2016/5/13 0013.
 * Description
 */
public abstract class UHBasePager extends Fragment {
    public Activity activity;
    //根View
    public View rootView;
    public FrameLayout fl_child_content;
    private ImageView main_more;
    private ImageView main_reminder;

    public UHBasePager(Activity activity) {
        this.activity = activity;
        rootView = initView();
    }

    private View initView() {

        View view = View.inflate(activity, R.layout.basepager,null);
        fl_child_content = (FrameLayout) view.findViewById(R.id.fl_child_content);
        main_more = (ImageView) view.findViewById(R.id.main_more);
        main_reminder = (ImageView) view.findViewById(R.id.main_reminder);

        return view;

    }

    public void initData(){

    }

    @Override
    public void onDestroy() {
        super.onDestroy();
    }


}
